<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">  
    <title>申请售后</title>
    <link rel="stylesheet" href="__PUBLIC__/Home/css/memberOrder.css">
    <include file="Public/common_js"/>
</head>
<body>
	<div class="warp">
		<!--订单类别-->
		<div class="member-order-top">
			<!-- 查看更多物流信息 -->
            <if condition="$orders['status'] eq 'active' ">
                <?php
                    if($orders['refund_ago_money_status'] == '0' && $orders['refund_ago_goods_status'] == '0' ) {
                ?>
                <div class="member-list-template">
                    <a href="{:url('MemberRefundGoods/index',['order_id' => $orders['order_id'],'sell' => 'refund_ago_money_status'])}">
                        <i><img src="__PUBLIC__/Home/images/refund-icon01.png"></i>
                        <h3>仅退款</h3>
                    </a>
                </div>
                <div class="member-list-template">
                    <a href="{:url('MemberRefundReturn/index',['order_id' => $orders['order_id'],'sell' => 'refund_ago_goods_status'])}">
                        <i><img src="__PUBLIC__/Home/images/refund-icon02.png"></i>
                        <h3>退款退货</h3>
                    </a>
                </div>
                <?php } ?>
                <?php
                    if($orders['refund_ago_money_status'] > '0' && $orders['refund_ago_goods_status'] == '0' ) {
                ?>
                <div class="member-list-template">
                    <a href="{:url('MemberRefundGoods/index',['order_id' => $orders['order_id'],'sell' => 'refund_ago_money_status'])}">
                        <i><img src="__PUBLIC__/Home/images/refund-icon01.png"></i>
                        <h3>仅退款</h3>
                    </a>
                </div>
                <?php } ?>

                <?php
                    if($orders['refund_ago_money_status'] == '0' && $orders['refund_ago_goods_status'] > '0' ) {
                ?>
                <div class="member-list-template">
                    <a href="{:url('MemberRefundReturn/index',['order_id' => $orders['order_id'],'sell' => 'refund_ago_goods_status'])}">
                        <i><img src="__PUBLIC__/Home/images/refund-icon02.png"></i>
                        <h3>退款退货</h3>
                    </a>
                </div>
                <?php } ?>

            </if>
            <?php
                    if ($refund == 'true'){
                ?>
            <div class="member-list-template">
                <a href="{:url('Member/after_sale_refund',['order_id' => $orders['order_id']])}">
                    <i><img src="__PUBLIC__/Home/images/refund-icon03.png"></i>
                    <h3>售后记录</h3>
                </a>
            </div>
            <?php
                    }
                ?>
			<div class="member-list-template">
				<a href="{:url('MemberComplain/index',['order_id' => $orders['order_id']])}">
					<i><img src="__PUBLIC__/Home/images/refund-icon04.png"></i>
					<h3>我要投诉</h3>
				</a>
			</div>
		</div>
    </div>
	<script>
		require(['memberOrderData'])
	</script>
</body>
</html>
